{include file="public/meta" /}
<title>代理信息</title>
</head>

<body>
    <article class="cl pd-20">
        <form class="form form-horizontal" id="form-article-add" method="post">
            <div id="tab-system" class="HuiTab">
                <!-- <div class="tabBar cl">
                    <span>一级代理 （ {:count($list[1])} ）</span>
                    <span>二级代理 （ {:count($list[2])} ）</span>
                    <span>三级代理 （ {:count($list[3])} ）</span>
                </div> -->
                <div class="tabCon">
                    <table class="table table-border table-bordered table-hover table-bg table-sort">
                        <thead>
                            <tr class="text-c">
                                <!-- <th width="50">ID</th> -->
                                <th width="120">用户名</th>
                                <th width="120">昵称</th>
                                <!-- <th width="40">身份</th> -->
                                <th width="90">手机</th>
                                <th width="70">状态</th>
                            </tr>
                        </thead>
                        {volist name="list" id="val"}
                        <tbody>
                            <tr class="text-c">
                                <!-- <td>{$val['user_id']}</td> -->
                                <td>{$val['user_name']}</td>
                                <td>{$val['user_nickname']} - - {$val['true_name']}</td>
                                <td>
                                    {eq name="val.type" value="0"}<span style="color: red;">会员</span>{/eq} {eq name="val.type" value="1"}<span style="color: blue;">合伙人</span>{/eq}
                                </td>
                                <td>{$val['mobile']}</td>
                                <td class="td-status">
                                    {eq name="$val['status']" value="1" }
                                    <span class="label label-default radius">已停用</span> {/eq} {eq name="$val['status']" value="0" }
                                    <span class="label label-success radius">已启用</span> {/eq}
                                </td>
                            </tr>
                        </tbody>
                        {/volist}
                    </table>
                </div>
                <div class="tabCon">
                    <table class="table table-border table-bordered table-hover table-bg table-sort">
                        <thead>
                            <tr class="text-c">
                                <!-- <th width="50">ID</th> -->
                                <th width="120">用户名</th>
                                <th width="120">昵称</th>
                                <th width="40">身份</th>
                                <th width="90">手机</th>
                                <th width="70">状态</th>
                            </tr>
                        </thead>
                        {volist name="list[2]" id="val"}
                        <tbody>
                            <tr class="text-c">
                                <!-- <td>{$val['user_id']}</td> -->
                                <td>{$val['user_name']}</td>
                                <td>{$val['user_nickname']} - - {$val['true_name']}</td>
                                <td>
                                    {eq name="val.type" value="0"}<span style="color: red;">粉丝</span>{/eq} {eq name="val.type" value="1"}<span style="color: blue;">代言人</span>{/eq}
                                </td>
                                <td>{$val['mobile']}</td>
                                <td class="td-status">
                                    {eq name="$val['status']" value="1" }
                                    <span class="label label-default radius">已停用</span> {/eq} {eq name="$val['status']" value="0" }
                                    <span class="label label-success radius">已启用</span> {/eq}
                                </td>
                            </tr>
                        </tbody>
                        {/volist}
                    </table>
                </div>
                <div class="tabCon">
                    <table class="table table-border table-bordered table-hover table-bg table-sort">
                        <thead>
                            <tr class="text-c">
                                <!-- <th width="50">ID</th> -->
                                <th width="120">用户名</th>
                                <th width="120">昵称</th>
                                <th width="40">身份</th>
                                <th width="90">手机</th>
                                <th width="70">状态</th>
                            </tr>
                        </thead>
                        {volist name="list[3]" id="val"}
                        <tbody>
                            <tr class="text-c">
                                <!-- <td>{$val['user_id']}</td> -->
                                <td>{$val['user_name']}</td>
                                <td>{$val['user_nickname']} - - {$val['true_name']}</td>
                                <td>
                                    {eq name="val.type" value="0"}<span style="color: red;">粉丝</span>{/eq} {eq name="val.type" value="1"}<span style="color: blue;">代言人</span>{/eq}
                                </td>
                                <td>{$val['mobile']}</td>
                                <td class="td-status">
                                    {eq name="$val['status']" value="1" }
                                    <span class="label label-default radius">已停用</span> {/eq} {eq name="$val['status']" value="0" }
                                    <span class="label label-success radius">已启用</span> {/eq}
                                </td>
                            </tr>
                        </tbody>
                        {/volist}
                    </table>
                </div>
            </div>
        </form>
    </article>
    <!--_footer 作为公共模版分离出去-->
    {include file="public/footer" /}
    <!--/_footer /作为公共模版分离出去-->
    <!--请在下方写此页面业务相关的脚本-->
    <script type="text/javascript" src="lib/My97DatePicker/4.8/WdatePicker.js"></script>
    <script type="text/javascript" src="lib/jquery.validation/1.14.0/jquery.validate.js"></script>
    <script type="text/javascript" src="lib/jquery.validation/1.14.0/validate-methods.js"></script>
    <script type="text/javascript" src="lib/jquery.validation/1.14.0/messages_zh.js"></script>
    <script type="text/javascript">
        $(function() {
            $('.skin-minimal input').iCheck({
                checkboxClass: 'icheckbox-blue',
                radioClass: 'iradio-blue',
                increaseArea: '20%'
            });
            $("#tab-system").Huitab({
                index: 0
            });
        });
    </script>
    <!--/请在上方写此页面业务相关的脚本-->
</body>

</html>